﻿using FluorineFx.AMF3;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SettlersAuto.Data.AmfTypes
{
    public static class AmfExtensions
    {
        public static IEnumerable<T> Collection<T>(this object obj)
        {
            return ((ArrayCollection)obj).OfType<T>();
        }
    }
}
